﻿using Ewk.Runtime.Serialization.PositionBased;

namespace Ewk.Runtime.Serialization.UnitTests.Records.PositionBased
{
    [PositionBasedDatarecord(32)]
    class PositionBasedTestDatarecord
    {
        [PositionBasedDatafield(0,2)]
        public int RecordType
        {
            get { return 1; }
        }

        [PositionBasedDatafield(2, 30)]
        public string Name { get; set; }

        public string PropertyWithoutFieldAttribute { get; set; }
    }
}
